﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmallTool.Model
{
    /// <summary>
    /// 连接串实体类
    /// </summary>
    public class DataBaseConnectModel
    {
        public DataBaseConnectModel()
        {

        }
        public DataBaseConnectModel(int _id, bool _isOpen, string _ip, string _loginName, string _password)
        {
            this.ID = _id;
            this.IsOpen = _isOpen;
            this.IP = _ip;
            this.LoginName = _loginName;
            this.PassWord = _password;
        }
        /// <summary>
        /// 标识
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 是否选定使用:0否1是
        /// </summary>
        public bool IsOpen { get; set; }
        /// <summary>
        /// 数据库IP地址
        /// </summary>
        public string IP { get; set; }
        /// <summary>
        /// 数据库登录名
        /// </summary>
        public string LoginName { get; set; }
        /// <summary>
        /// 数据库密码
        /// </summary>
        public string PassWord { get; set; }
    }
}
